package cn.zn.modules.zzsys.cur.entity;

import cn.zn.framework.common.abs.AbsOldMainEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName t_oper_log
 */
@TableName(value ="t_oper_log")
@Data
public class OperLog extends AbsOldMainEntity implements Serializable {
    /**
     * 
     */
    @TableField(value = "USER_CODE_")
    private String userCode;

    /**
     * 
     */
    @TableField(value = "USER_NAME_")
    private String userName;

    /**
     * 
     */
    @TableField(value = "IP_")
    private String ip;

    /**
     * 用户操作
     */
    @TableField(value = "operation")
    private String operation;

    /**
     * 请求方法
     */
    @TableField(value = "method")
    private String method;

    /**
     * 请求参数
     */
    @TableField(value = "params")
    private String params;

    /**
     * 请求结果
     */
    @TableField(value = "result")
    private String result;

    /**
     * 执行时长(毫秒)
     */
    @TableField(value = "time")
    private Long time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}